<div>
Here are a few examples for regular expressions:
<table style="margin-left: 10px;">
  <tr>
    <td style="padding: 2px"><b>.*</b></td><td style="padding: 2px">matches any character sequence</td>
  </tr>
  <tr>
    <td style="padding: 2px"><b>foo.*</b></td><td style="padding: 2px">matches any string that starts with "foo"</td>
  </tr>
  <tr>
    <td style="padding: 2px"><b>^((?!bar).)*$</b></td><td style="padding: 2px">matches any string that does not start with "bar"</td>
  </tr>
  <tr>
    <td style="padding: 2px"><b>(?i)</b></td><td style="padding: 2px">makes the regular expression case insensitive</td>
  </tr>
</table>
<p>
You can find more info here:<br/> 
<ul>
  <li><a href="https://docs.oracle.com/javase/8/docs/api/java/util/regex/Pattern.html">https://docs.oracle.com/javase/8/docs/api/java/util/regex/Pattern.html</a></li>
  <li><a href="https://docs.oracle.com/javase/tutorial/essential/regex/">https://docs.oracle.com/javase/tutorial/essential/regex/</a></li>
</ul>  
</div>